package com.codeZ.BuilderPattern.example01.builder;

import com.codeZ.BuilderPattern.example01.product.Bike;

/**
 * 抽象建造者
 *
 * @author codeZhang
 * @Date 2024/8/2 16:00
 */
public abstract class Builder {

    protected Bike mBike = new Bike();

    /**
     * 构建车架
     */
    public abstract void buildFrame();

    /**
     * 构建车座
     */
    public abstract void buildSeat();

    /**
     * 创建自行车
     */
    public abstract Bike createBike();


}
